package com.wenjie.original.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import com.wenjie.original.entity.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Map;


@Data
@Table("sys_diff_table")
@ApiModel("表信息")
public class SysDiffTable extends BaseEntity {


    @Id(keyType = KeyType.Generator, value = KeyGenerators.snowFlakeId)
    @ApiModelProperty("主键ID")
    private Long sysDiffTableId;

    @ApiModelProperty("")
    private Long sysDiffSyncId;


    @ApiModelProperty("")
    private Long sysDiffDatasourceId;


    @ApiModelProperty("")
    private String tableName;


    @ApiModelProperty("")
    private String tableComment;


    @ApiModelProperty("")
    private String tableType;


    @ApiModelProperty("")
    private String tableEngine;


    @ApiModelProperty("")
    private String tableCollation;


    @ApiModelProperty("")
    private String tableIndex;


    @ApiModelProperty("")
    private Map<String, String> tableIndexDetail;


    @ApiModelProperty("")
    private Long tableRows;


}